<script>
	import "colorui/main.css";
    import "colorui/icon.css";
    import "./app.css"; /* 你的项目css */
	import beeApp from './beeApp.js'
	export default {
		onLaunch: function(options) {
			// console.log('App Launch')
			// app.alert("123");
			beeApp.getUserInfo(function (userInfo) {
			  uni.setStorageSync("user_info", userInfo);
			});
			console.log(options);
			//获取关联普通二维码的码值，放到全局变量qrCode中
		   if (options.query && options.query.qrCode) {
			  beeApp.data.qrCode = options.query.qrCode;
			  // beeApp.alert(this.qrCode);
		    }  
		   if(options.path){
			   beeApp.data.path = options.path;
		   }

		},
		
		onShow: function() {
			console.log('App Show')
			// uni.hideHomeButton();
		},
		onHide: function() {
			console.log('App Hide')
			
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
